package team.yg.asset.service;

import team.yg.asset.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import team.yg.asset.resful.Result;
import team.yg.asset.vo.UserLoginVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Eins
 * @since 2024-10-03
 */
public interface IUserService extends IService<User> {

    User queryRoot();

    /**
     * 登录功能
     * @param username,password
     * @return result
     * */
    Result<UserLoginVo> login(String username, String password);

}
